﻿<UserControl x:Class="WetHatLab.OneNote.TaggingKit.common.ui.ScopeSelector"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:WetHatLab.OneNote.TaggingKit.common.ui"
             d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type local:ScopeSelectorModel}}"
             mc:Ignorable="d" 
             d:DesignHeight="20" d:DesignWidth="100">
    <ComboBox Name="scopeSelect"
            IsEditable="False"
            IsTextSearchEnabled="True"
            ItemsSource="{Binding Scopes, Mode=OneTime}"
            TextOptions.TextFormattingMode="Display"
            DisplayMemberPath="ScopeLabel"
            SelectionChanged="ScopeComboBox_SelectionChanged" />
</UserControl>
